﻿using System;
using System.Web;
using System.Web.Util;

namespace InformationSystem.WebSite
{
     class RequestValidatorDisabled :RequestValidator 
    {
        protected override bool IsValidRequestString(HttpContext context, string value, RequestValidationSource requestValidationSource, string collectionKey, out int validationFailureIndex)
        {
            validationFailureIndex = -1;
            return true;
            //return base.IsValidRequestString(context, value, requestValidationSource, collectionKey, out validationFailureIndex);
        }
    }
}